//
//  AttributeStringCellData.h
//  18Birdies
//
//  Created by James Chen on 15/9/18.
//  Copyright © 2015年 Lc. All rights reserved.
//

#import "LcCellData.h"

@interface AttributeStringCellData : LcCellData

+ (instancetype)cellDataWithAttributeString:(NSAttributedString*)string
                             onClickHandler:(OnCellClickedHanlder)onClickedHandler;

@property(nonatomic, strong) NSAttributedString* describeString;
@property(nonatomic, assign) int numberOfLines;         // default is 1;
@property(nonatomic, assign) CGFloat expectedCellWidth; // default is Screen Width;
@property(nonatomic, assign) int tag;

@property(nonatomic, strong) UIColor* backgroundColor;  // default is White;
@property(nonatomic, assign) CGFloat textCenterYOffset; // default is 0; Vertical Center;

@property(nonatomic, assign) CGFloat leftMargin;            // default is 0;
@property(nonatomic, assign) CGFloat rightMargin;           // default is 0;
@property(nonatomic, assign) NSTextAlignment textAlignment; // default is 0;
@property(nonatomic, assign) NSLineBreakMode linkBreakMode; // default is TruncatingMiddle;
@end
